]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
main: Move NO_AT_BRIDGE hack to mutter
authorJonas Ådahl <jadahl@gmail.com>
Tue, 23 Feb 2021 17:24:35 +0000 (18:24 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Tue, 23 Feb 2021 17:24:35 +0000 (18:24 +0100)
There is no guarantee that it'll have effect, since the time anything
that'll look at that environment variable is not known by gnome-shell.
Let mutter carry this burden instead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1710>

src/main.c

index 8c59f9c0959d0f5a38047c987a4a43044a8ab00b..5d07a430148b8ce607e63d4142e86895607af4bb 100644 (file)
@@ -465,10 +465,7 @@ main (int argc, char **argv)
   meta_set_wm_name (WM_NAME);
   meta_set_gnome_wm_keybindings (GNOME_WM_KEYBINDINGS);
 
-  /* Prevent meta_init() from causing gtk to load the atk-bridge*/
-  g_setenv ("NO_AT_BRIDGE", "1", TRUE);
   meta_init ();
-  g_unsetenv ("NO_AT_BRIDGE");
 
   /* FIXME: Add gjs API to set this stuff and don't depend on the
    * environment.  These propagate to child processes.